/*
 * @Author: Jiraiya
 * @Date: 2020-05-26 19:33:49
 * @LastEditors: Jiraiya
 * @LastEditTime: 2020-05-27 16:57:44
 * @Description: 
 */ 
new Promise((resolve, reject) => {
    throw new Error(1)
    resolve(1);
}).then(res => {
    console.log(res)
}).catch(err => {
    console.log('错误')
    throw err;
})